<?php
	
	require_once(dirname(__FILE__)."/../core/safeParam.php");
	
	$function = $_GET['function'];
	$id       = $_GET['id'];
	
	switch ($function) {
		default:
			if (!isset($cid)) {
      		$results = $database->select("SELECT * FROM news WHERE rid = " . ARID . " order by date ");
    		} //!isset($cid)
    		
    		break;

    // hmmm - no search functions???  No use of the ID param??
    //

	} //$function

?>
